package slxy.jiangtao.dts.entity.business;

import org.hibernate.annotations.DynamicInsert;
import slxy.jiangtao.dts.core.common.bean.BaseId;

import javax.persistence.*;

/**
 * Code must be sexy
 * Created by Jiang Tao on 2017/5/4.
 * 说明：
 */
@Entity
@Table(name = "archives")
@DynamicInsert
public class Archives extends BaseId{
    @Basic
    @Column(name = "name")
    private String name;

    @Basic
    @Column(name = "file_no")
    private String fileNo;

    @Basic
    @Column(name = "creator")
    private String creator;

    @Basic
    @Column(name = "creat_time")
    private String creatTime;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getFileNo() {
        return fileNo;
    }

    public void setFileNo(String fileNo) {
        this.fileNo = fileNo;
    }
    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }
    public String getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(String creatTime) {
        this.creatTime = creatTime;
    }

}
